package com.example.service;

import com.example.model.UserInfoResponse;
import com.example.model.UserLoginResponse;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: bjc
 * Date: 2025-08-03
 * Time: 20:32
 */
public interface UserService {
    UserLoginResponse login(String userName, String password);

    Boolean register(String userName, String password, String githubUrl);

    UserInfoResponse getUserInfo(Integer userId);

    UserInfoResponse getAuthorInfoByBlogId(Integer blogId);
}
